<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
            background-color: cyan;
        }
        body,html{
            height: 100%;
            position: relative;
        }
        .wrap{
            height: 30px;
            width: 100px;
            position: fixed;
            left: 0;
            top: 0;
            border: 5px solid gold;
            background-color: white;
        }
        .wrap .blood{
            height: 100%;
            width: 100px;
            display: block;
            background-color: red;
        }
        .contain{
            text-align: center;
            width:600px;
            height: 400px;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
            z-index: 1;
            display: none;
            background-color: red;
        }
        .contain img{
            width: 100%;
        }
    </style>
</head>
<body>
<div class="wrap">
    <span class="blood">
    </span>
</div>
<div class="contain"><img src="./img/over。jpg.webp" alt="">
    <button>重新开始</button>
    <button>退出游戏</button>
</div>
<script src="./utils.js"></script>
<script>
     eliminateStar()
</script>
</body>